package com.entrogy.service;

import com.entrogy.bean.SchoolBusLine;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Author 许红松
 * @date 2019/4/30 0030 下午 1:47
 * 校车站点service接口
 */
public interface SchoolBusLineService {
    /**
     * 新增校车站点信息
     * @param schoolBusLine
     * @return int
     */
    public int   addSchoolBusLine(SchoolBusLine schoolBusLine);

    /**
     * 删除校车站点信息
     * @param schoolbus_Siteid
     * @return int
     */
    public int   deleteSchoolBusLine(@Param(value="schoolbus_Siteid") Integer schoolbus_Siteid);

    /**
     * 修改校车站点信息
     * @param schoolBusLine
     * @return int
     */
    public int   updateBusLine(SchoolBusLine schoolBusLine);

    /**
     *  获取校车站点信息
     * @param map
     * @return List<SchoolBusLine>
     */
    public List<SchoolBusLine> getSchoolBusLineList(Map<String,Object> map);

    /**
     *  获取校车站点信息
     * @param map
     * @return
     */
    public int count(Map<String,Object> map);

    /**
     * 跟改位置
     * @return
     */
    public int updateplace(Map<String, Object> map);

    /**
     *  获取校车站点信息
     * @param map
     * @return List<SchoolBusLine>
     */
    public List<SchoolBusLine> getSchoolBusLineList1(Map<String,Object> map);
}
